package com.heitian.ssm.dao;

import com.heitian.ssm.model.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Zhangxq on 2016/7/15.
 */

@Repository
public interface DemoVideoDao {


    List<Video> selectVideo();
    List<Video> selectAllVideos();
    List<News> selectAllNews();
    List<News> selectAllNewsN1();
    List<News> selectAllNewsN2();
    List<Picture> selectAllPics();
    List<Focusimg> selectAllFocusimg();
    List<Video> selectCollect(String uid);
    List<Video> isCollect(String uid,String bid);
    int addCollect(String uid, String bid);
}
